package com.icloud.article.boot.dto;

import com.icloud.common.core.constant.ValidateConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;


@ApiModel("获取Im参数")
@Data
public class GetImParamsDto {

    @NotNull(message = ValidateConstant.NOT_NULL)
    @ApiModelProperty(value = "客户Id", required = true)
    private Long customerId;

    @ApiModelProperty(value = "房间号")
    private String roomId;

    @ApiModelProperty(value = "权限位")
    private long privilegeMap;
}
